Arc Consistency on n-ary Monotonic and Linear Constraints
نویسندگان
چکیده
Many problems and applications can be naturally modelled and solved using constraints with more than two variables Such n ary constraints in particular arithmetic constraints are provided by many nite domain constraint programming systems The best known worst case time complexity of existing algorithms GAC schema for enforcing arc consistency on general CSPs is O ed where d is the size of domain e is the number of constraints and n is the maximum number of variables in a single constraint We address the question of e cient consistency enforcing for n ary constraints An observation here is that even with a restriction of n ary constraints to linear constraints arc consistency enforcing is NP complete We identify a general class of monotonic n ary constraints which includes linear inequalities as a special case Such monotonic constraints can be made arc consistent in time O en d The special case of linear inequalities can be made arc consistent in time O en d using bounds consistency which exploits special properties of the projection function
منابع مشابه
Maintaining Generalized Arc Consistency on Ad-Hoc n-Ary Boolean Constraints
Binary decision diagrams (BDDs) can compactly represent ad-hoc nary Boolean constraints. However, there is no generalized arc consistency (GAC) algorithm which exploit BDDs. For example, the global case constraint by SICStus Prolog for ad-hoc constraints is designed for nonBoolean domains. In this paper, we introduce a new GAC algorithm, bddc, for BDD constraints. Our empirical results demonstr...
متن کاملLocal Consistency for Ternary Numeric Constraints
We consider algorithms of the Waltz type for computing local consistency (also called arc-consistency) for constraints over numeric domains. Many commonly used propagation rules do not in fact enforce local consistency. We extend the propagation rule given by Falt-ings Faltings, 1994] to the case of ternary constraints. Since any general n-ary continuous constraint can be represented as a colle...
متن کاملA Fast Arc Consistency Algorithm for n-ary Constraints
The GAC-Scheme has become a popular general purpose algorithm for solving n-ary constraints, although it may scan an exponential number of supporting tuples. In this paper, we develop a major improvement of this scheme. When searching for a support, our new algorithm is able to skip over a number of tuples exponential in the arity of the constraint by exploiting knowledge about the current doma...
متن کاملA Boolean Encoding Including SAT and n-ary CSPs
We investigate in this work a generalization of the known CNF representation which allows an efficient Boolean encoding for n-ary CSPs. We show that the space complexity of the Boolean encoding is identical to the one of the classical CSP representation and introduce a new inference rule whose application until saturation achieves arc-consistency in a linear time complexity for n-ary CSPs expre...
متن کاملSoft Nonlinearity Constraints and their Lower-Arity Decomposition
In this paper we express nonlinearity requirements in terms of soft global n-ary constraints. We describe a method to project global nonlinearity constraints into redundant lowerarity hard constraints. The nonlinearity constraints apply to the inputs and outputs of discrete functions f : Z2n → Z2m mapping n-bit inputs to m-bit outputs, n > m. No output bit (or linear function on a subset of out...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2000